package org.zjx.analysis.analyze.tap;


import org.zjx.command.util.ImageUtil;
import org.zjx.window.window.IWindow;

import java.awt.*;
import java.awt.image.BufferedImage;
import java.util.Collections;

public class ALGTabAnalysis extends BaseTabAnalysis {

    public ALGTabAnalysis(IWindow window) {
        super("傲来国", window);
    }

    @Override
    public Rectangle getContentArea() {
        return ImageUtil.createRect(10, 80, 448, 355);
    }

    @Override
    protected void initResources() {

    }

    @Override
    public Rectangle closeArea() {
        return null;
    }

    @Override
    public Rectangle getOriginBounds() {
        return ImageUtil.createRect(147, 94, 651, 479);
    }

    @Override
    public Rectangle getRefImageArea() {
        return ImageUtil.createRect(231, 24, 272, 37);
    }

    @Override
    public BufferedImage getRefImage() {
        BufferedImage bufferedImage = ImageUtil.createImage("iVBORw0KGgoAAAANSUhEUgAAACoAAAAOCAYAAABZ/o57AAAEaklEQVR4XpVUC1NTVxDOH+tAAKFUBRISgSCagRBKUUqlaIuMg44O1ooghQIJBggiApWHPCoopvIQKhYdqEgFobxCeBoCKLTq17t7cy8JKB2/mW/Onj17zvl2z96r8NGYQSz/ZQAxyTX4TG1G8plmRCTeZJuoO1YDdfwNeS7RR120y5eS2QL9N7d2+TnefddBvRXHMm4LbPof3sYBIZb2KKTNhIxL7QiKLoXTtYk7v73APp2F1+YX19HeObZLJDEoqgT7okplzjpc6Hr0N5/jSV+teI9fRAnf9SmgvQpfbQliU2+x49279ztCgNLqP2R7YGiWeTHfxiJHx5c8IvcGJUB3hRtv8DxQEE/cf9T6QQbprgljOceGxl2HQqkxoeHOM3FzZAlUsVZsvP4Htp6XCBNspbaI1+YWXHAsrrF9xdQpV3T/YQsWltfxeXQJ/CNMmJlzChWdYDsgwswCT19sA91D1Bor+YwDR8p43AuHEsRY0sRCCY6FNfQIT7YT2cUPeDR8W4u08y1sSyIlEmqbB+GrKcK03YkHfeNsJ6XX81qIvnyXUEqCqkaCiWMTSxgZW5DngTozgqMtHMtCv8tq5YlDqFhApAlRSZXY3PoXXb9PCBXdzvpCXgd+KLCxrVQXeDG7UPTvFOp0vUH/02l+FYnahAqOpbs8/cOj8xh6PifPaX/wYbGfVXFlUNBTEehp7fMuvPXoU8n+6+UibN2jaLONwO5YhY8qH7qvKtDU/gzNd0VOzqyg5d4wx1OvN997jvGpFXR0j7HddHcYGmMFk0CtQUl8DHQ3tROBCqZIyajH1OwrrmiBpZsXqKLVjU+YiSdrUWx9yP619U1B3J9cxeSMOt43bSc6edzaeitfRGeIfpGUiDG1Gtp48ZUCtIWITqzA6awWpnP1DZZfbcB8vRcP+yc4NjiqmGNVeovQo8KlA0MzLJRsGgl9A5MwV/ayL1R/TRaQeKqWK6pU5cmkeYRR/EI9oYq1iLEebeIp1NM//IKe3o7UzEZet/WM7RAqXDQwOC0KFWzC8sqG0NyLbPuH/yT7CUpVjkyfsFwev0wTfzlU1VmHU6jIONY3tth3yGDxSkprED+Q/boipGU24OQ5kStCNReX1tj+2dKJhtZBhMe6e1Rv9hYaEiNmoD9eDk2s+DcgIWln69gmJKdXe4mtqutnf+/jcRZOYjt7R4UEc4VkF3gt13TfHb8t9EJOm3zmx1Ba1cejW2iOIHRKELqKmkbx506+pFM32Y5LEZv/8dNJ4Wlm2Q6NKYDxhOgnnP2xCb6hl3mfJFRKpNjaxTH0gR1JKpMLoDWYEaC5uiejEsSWCztatC3U7hC//qq6R9zUhPfuH4DT9Rp+qmwEanN5ToLzzB2ob30Cf/UVFilxcnoZ97tGvHwHo/PRJYjPuvor/NQ54qGfANKooIOoOse/r8KJMzVQhl1GuL4Q6efr8UVkHuK+LmefdClVM9JQDN+QS950rxtSrIiMN3kJ/RApcUpyL1KMFP8fT2PUa2UA3SsAAAAASUVORK5CYII=");
        return ImageUtil.makeColorsTransparent(bufferedImage, Collections.singletonList(Color.WHITE));
    }


}
